<template>
<div class="layerRtb layerRtb-threecolumn layerRtb-right">
    <three-title :title="{name:'分司订单'}" :close="false">
        <span tag="i" class="rig_close fr" @click="$parent.$parent.clickFourShow()"></span>
    </three-title>
    <div class="layerRtb-scroll thinScroll" v-scrollHeight = "10" style="padding:0;">
        <iframe :src="src" frameborder="0" width="100%" height="100%" scrolling="no"></iframe>
    </div>
</div>
</template>
<script>
import {mapGetters} from 'vuex'
export default {
    data () {
        return {
            src: '',
            // userInfo: {},
            isGroup: ''
        }
    },
    computed: {
        ...mapGetters(['userInfo', 'leftInfo'])
    },
    created () {
        // this.userInfo = this.$utils.getLocal('userInfo')
        this.isGroup = Number(this.userInfo.u_diqu) === 39 ? 1 : 0// 是否由集团发起订单 0否 1是
        this.src = 'https://terp.rxjy.com/orderLauncher?regionId=' + this.leftInfo.u_diqu + '&cardNum=' + this.userInfo.u_kahao + '&name=' + this.userInfo.xinming + '&depId=4&isGroup=' + this.isGroup + '&hideClose=1&fromSolve=1'
    },
    methods: {

    }
}
</script>
